
source_dir="jemalloc-3.6.0"
if [ ! -d "$source_dir" ]; then
	git clone https://git.oschina.net/wr4ng1er/jemalloc-3.6.0.git
else
	echo $source_dir
fi 


cd $source_dir
./configure	&&	make && make install
echo ‘/usr/local/lib‘ >> /etc/ld.so.conf.d/jemalloc.conf
ldconfig

